package com.gitee.simpleplus.db;

import java.util.ArrayList;
import java.util.List;

public class Table {

	private List<Column> columns = new ArrayList<>();
	private String name;
	private String upperName;

	private String upperFirstLetterName;

	private String lowerFirstLetterName;
	
    private String primaryKey;

    private String primaryKeyType;

	private String upperFirstLetterPrimaryKey;

	private String lowerFirstLetterPrimaryKey;
	
	private String model;
	
	private String groupId;
	
	private String stringCarrayNames1;// "," append upper columns

    private String stringCarrayNames2;// int id ,String userCord ,..

    private String stringCarrayNames3;// "," append columns

    private String stringCarrayNames4;// "#%s#," append lower columns

    private String stringCarrayNames5;// "%s=#%s#," append columns-lower columns

    private String stringCarrayNames6;// "%s=#%s#,"append columns-lower columns

    private String stringCarrayNames7;// "%s=#%s#,"append columns-lower columns

//    private String stringCarrayNames8;
	
	public List<Column> getColumns() {
		return columns;
	}

	public void setColumns(List<Column> columns) {
		this.columns = columns;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUpperName() {
		return upperName;
	}

	public void setUpperName(String upperName) {
		this.upperName = upperName;
		setModel(upperName);
	}

	public String getUpperFirstLetterName() {
		return upperFirstLetterName;
	}

	public void setUpperFirstLetterName(String upperFirstLetterName) {
		this.upperFirstLetterName = upperFirstLetterName;
	}

	public String getLowerFirstLetterName() {
		return lowerFirstLetterName;
	}

	public void setLowerFirstLetterName(String lowerFirstLetterName) {
		this.lowerFirstLetterName = lowerFirstLetterName;
	}

	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public String getPrimaryKeyType() {
		return primaryKeyType;
	}

	public void setPrimaryKeyType(String primaryKeyType) {
		this.primaryKeyType = primaryKeyType;
	}

	public String getUpperFirstLetterPrimaryKey() {
		return upperFirstLetterPrimaryKey;
	}

	public void setUpperFirstLetterPrimaryKey(String upperFirstLetterPrimaryKey) {
		this.upperFirstLetterPrimaryKey = upperFirstLetterPrimaryKey;
	}

	public String getLowerFirstLetterPrimaryKey() {
		return lowerFirstLetterPrimaryKey;
	}

	public void setLowerFirstLetterPrimaryKey(String lowerFirstLetterPrimaryKey) {
		this.lowerFirstLetterPrimaryKey = lowerFirstLetterPrimaryKey;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getStringCarrayNames1() {
		return stringCarrayNames1;
	}

	public void setStringCarrayNames1(String stringCarrayNames1) {
		this.stringCarrayNames1 = stringCarrayNames1;
	}

	public String getStringCarrayNames2() {
		return stringCarrayNames2;
	}

	public void setStringCarrayNames2(String stringCarrayNames2) {
		this.stringCarrayNames2 = stringCarrayNames2;
	}

	public String getStringCarrayNames3() {
		return stringCarrayNames3;
	}

	public void setStringCarrayNames3(String stringCarrayNames3) {
		this.stringCarrayNames3 = stringCarrayNames3;
	}

	public String getStringCarrayNames4() {
		return stringCarrayNames4;
	}

	public void setStringCarrayNames4(String stringCarrayNames4) {
		this.stringCarrayNames4 = stringCarrayNames4;
	}

	public String getStringCarrayNames5() {
		return stringCarrayNames5;
	}

	public void setStringCarrayNames5(String stringCarrayNames5) {
		this.stringCarrayNames5 = stringCarrayNames5;
	}

	public String getStringCarrayNames6() {
		return stringCarrayNames6;
	}

	public void setStringCarrayNames6(String stringCarrayNames6) {
		this.stringCarrayNames6 = stringCarrayNames6;
	}

	public String getStringCarrayNames7() {
		return stringCarrayNames7;
	}

	public void setStringCarrayNames7(String stringCarrayNames7) {
		this.stringCarrayNames7 = stringCarrayNames7;
	}

}
